package com.oa.admin.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.oa.admin.dto.LeaveApplyListDTO;
import com.oa.admin.entity.LeaveApply;
import com.oa.admin.vo.LeaveApplyDetailsVO;
import com.oa.admin.vo.LeaveApplyListVO;

import java.util.List;

public interface LeaveApplyMapper extends BaseMapper<LeaveApply> {

    List<LeaveApplyListVO> findLeaveApplyList(Page page, LeaveApplyListDTO leaveApplyListDTO);

    LeaveApplyDetailsVO findLeaveApplyDetails(String id);
}
